package cn.chinaflame.pagodas.dto;

import javax.persistence.Basic;
import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 产品dto
 *
 * @author bm
 * 2018年1月4日 下午2:12:51
 */
public class PaProductDto extends BaseDto {
    /**
     *
     */
    private static final long serialVersionUID = -6378240363640488994L;
    private String id;
    private String name;
    private String productTypeId;
    private String productTypeName;
    private String itemId;
    private String itemName;
    private String areaId;
    private String areaName;
    private String positionId;
    private String positionName;
    private String positionIds;
    private String greetingsId;
    private String greetingsName;
    private Integer number;
    private BigDecimal price;
    private String state;
    private BigDecimal dayOne;
    private BigDecimal dayThree;
    private BigDecimal dayWeek;
    private BigDecimal dayMonth;
    private BigDecimal dayQuarter;
    private BigDecimal dayHalfYear;
    private BigDecimal dayYear;
    private String subCommodity;
    private String commodityType;
    private String facialPhoto;
    private String certificatePhoto;
    private String createtime;
    private String updatetime;
    private BigDecimal costPrice;
    private String addTime;
    private String shelfTime;
    private String description;
    private String praying;
    private List<Map<String, Object>> termList;// 期限，价格

    /*new_edition 位置显示名称*/
    private String positionIdsName;


    public PaProductDto() {
        // TODO Auto-generated constructor stub
    }

    public String getPositionIdsName() {
        return positionIdsName;
    }

    public void setPositionIdsName(String positionIdsName) {
        this.positionIdsName = positionIdsName;
    }

    public String getPositionIds() {
        return positionIds;
    }

    public void setPositionIds(String positionIds) {
        this.positionIds = positionIds;
    }

    public List<Map<String, Object>> getTermList() {
        return termList;
    }

    public void setTermList(List<Map<String, Object>> termList) {
        this.termList = termList;
			/*Map<String, Object> map1 = new HashMap<String, Object>();
			map1.put("termDes", "一天");
			map1.put("termPrice", dayOne);
			termList.add(map1);
			Map<String, Object> map2 = new HashMap<String, Object>();
			map2.put("termDes", "三天");
			map2.put("termPrice", dayThree);
			termList.add(map2);
			Map<String, Object> map3 = new HashMap<String, Object>();
			map3.put("termDes", "一周");
			map3.put("termPrice", dayWeek);
			termList.add(map3);
			Map<String, Object> map4 = new HashMap<String, Object>();
			map4.put("termDes", "一月");
			map4.put("termPrice", dayMonth);
			termList.add(map4);
			Map<String, Object> map5 = new HashMap<String, Object>();
			map5.put("termDes", "一季度");
			map5.put("termPrice", dayQuarter);
			termList.add(map5);
			Map<String, Object> map6 = new HashMap<String, Object>();
			map6.put("termDes", "半年");
			map6.put("termPrice", dayHalfYear);
			termList.add(map6);
			Map<String, Object> map7 = new HashMap<String, Object>();
			map7.put("termDes", "一年");
			map7.put("termPrice", dayYear);
			termList.add(map7);
			this.termList = termList;*/
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProductTypeId() {
        return productTypeId;
    }

    public void setProductTypeId(String productTypeId) {
        this.productTypeId = productTypeId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getGreetingsId() {
        return greetingsId;
    }

    public void setGreetingsId(String greetingsId) {
        this.greetingsId = greetingsId;
    }

    public String getGreetingsName() {
        return greetingsName;
    }

    public void setGreetingsName(String greetingsName) {
        this.greetingsName = greetingsName;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public BigDecimal getDayOne() {
        return dayOne;
    }

    public void setDayOne(BigDecimal dayOne) {
        this.dayOne = dayOne;
    }

    public BigDecimal getDayThree() {
        return dayThree;
    }

    public void setDayThree(BigDecimal dayThree) {
        this.dayThree = dayThree;
    }

    public BigDecimal getDayWeek() {
        return dayWeek;
    }

    public void setDayWeek(BigDecimal dayWeek) {
        this.dayWeek = dayWeek;
    }

    public BigDecimal getDayMonth() {
        return dayMonth;
    }

    public void setDayMonth(BigDecimal dayMonth) {
        this.dayMonth = dayMonth;
    }

    public BigDecimal getDayQuarter() {
        return dayQuarter;
    }

    public void setDayQuarter(BigDecimal dayQuarter) {
        this.dayQuarter = dayQuarter;
    }

    public BigDecimal getDayHalfYear() {
        return dayHalfYear;
    }

    public void setDayHalfYear(BigDecimal dayHalfYear) {
        this.dayHalfYear = dayHalfYear;
    }

    public BigDecimal getDayYear() {
        return dayYear;
    }

    public void setDayYear(BigDecimal dayYear) {
        this.dayYear = dayYear;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getShelfTime() {
        return shelfTime;
    }

    public void setShelfTime(String shelfTime) {
        this.shelfTime = shelfTime;
    }

    public String getProductTypeName() {
        return productTypeName;
    }

    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPraying() {
        return praying;
    }

    public void setPraying(String praying) {
        this.praying = praying;
    }

    public String getSubCommodity() {
        return subCommodity;
    }

    public String getCommodityType() {
        return commodityType;
    }

    public void setSubCommodity(String subCommodity) {
        this.subCommodity = subCommodity;
    }

    public void setCommodityType(String commodityType) {
        this.commodityType = commodityType;
    }

    public String getFacialPhoto() {
        return facialPhoto;
    }

    public String getCertificatePhoto() {
        return certificatePhoto;
    }

    public void setFacialPhoto(String facialPhoto) {
        this.facialPhoto = facialPhoto;
    }

    public void setCertificatePhoto(String certificatePhoto) {
        this.certificatePhoto = certificatePhoto;
    }
}
